import request  from "@/axios/index";

type CategoryPage = {
  page: number;
  size: number;
}

export const  getCategory = (data:CategoryPage): any =>{
  const url = 'apis/content.halo.run/v1alpha1/categories';
  const type = 'get';
  return request(url,type,data)
}